package com.app.teaware.bean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Index;

@Entity(indexes = {@Index(value = "sna,dna", unique = true)})

public class UnitWholeListData extends UnitListData{
    //输入参数
    /**
     * Authorization    //用户登录时的授权码(令牌)
     * aid              //账套id
     * dna              //“年份”、“单位”、“产地”之类
     */

    //输出内容
    /**
     * data": [
     *     {
     *       "sid": "2110220008",   //数据库key
     *       "aid": "1",
     *       "dna": "单位",          //类别
     *       "sno": "3",            //相应类别中的编号
     *       "sna": "斤"            //内容
     *       "dsn"                  //1=整件     2=
     *     }]
     */
    private String sid;
    private String aid;
    private String dna;
    private String sno;
    private String sna;
    private String dsn;


    @Generated(hash = 1773407450)
    public UnitWholeListData(String sid, String aid, String dna, String sno,
            String sna, String dsn) {
        this.sid = sid;
        this.aid = aid;
        this.dna = dna;
        this.sno = sno;
        this.sna = sna;
        this.dsn = dsn;
    }

    @Generated(hash = 392229259)
    public UnitWholeListData() {
    }


    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    @Override
    public String getAid() {
        return aid;
    }

    @Override
    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getDna() {
        return dna;
    }

    public void setDna(String dna) {
        this.dna = dna;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSna() {
        return sna;
    }

    public void setSna(String sna) {
        this.sna = sna;
    }

    public String getDsn() {
        return dsn;
    }

    public void setDsn(String dsn) {
        this.dsn = dsn;
    }
}
